package com.api.action.v1;

import com.admin.entity.Station;
import com.admin.service.IStationService;
import com.bean.ResponseBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 站点的设置密码
 */
@RestController
@RequestMapping("/api/v1")
public class SettingPasswordAPIAction {
	
	@Autowired
	private IStationService stationService;
	
	@RequestMapping("/requestSettingPassword")
	public ResponseBean requestSettingPassword(String mac)
	{
		//Station s = stationService.getStationByMac(mac);
		Map map = new HashMap();
		map.put("SettingPassword","uudd");//这里要改成活的
		return new ResponseBean(200, "成功", map);
	}

}
